﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace MqttToDatabase.Table2
{
    public class netportdevicedata
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public int deviceid { get; set; }
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public int time { get; set; }

        public float HT_Temp_1 { get; set; }
        public float HT_Temp_2 { get; set; }
        public float HT_Temp_3 { get; set; }
        public float HT_Temp_4 { get; set; }
        public float HT_Temp_5 { get; set; }
        public float HT_Temp_6 { get; set; }
        public float HT_Temp_7 { get; set; }

        public float HT_Shot_time { get; set; }
        public float HT_Colling_time { get; set; }

        public int HT_shot_pressure_1 { get; set; }
        public int HT_shot_pressure_2 { get; set; }
        public int HT_shot_pressure_3 { get; set; }

        public int HT_shot_speed_1 { get; set; }
        public int HT_shot_speed_2 { get; set; }
        public int HT_shot_speed_3 { get; set; }

        public float HT_shot_pos_1 { get; set; }
        public float HT_shot_pos_2 { get; set; }
        public float HT_shot_pos_3 { get; set; }

        public int HT_hp_pressure_1 { get; set; }
        public int HT_hp_pressure_2 { get; set; }
        public int HT_hp_pressure_3 { get; set; }

        public int HT_hp_speed_1 { get; set; }
        public int HT_hp_speed_2 { get; set; }
        public int HT_hp_speed_3 { get; set; }

        public float HT_hp_time_1 { get; set; }
        public float HT_hp_time_2 { get; set; }
        public float HT_hp_time_3 { get; set; }

        public int HT_storage_pressure_1 { get; set; }

        public int HT_storage_speed_1 { get; set; }

        public float HT_storage_pos_1 { get; set; }

        public int HT_storage_B_pressure_1 { get; set; }

        public float HT_shot_back_pos { get; set; }

        public int status { get; set; }
        public int cnt { get; set; } //当前数量
        public int cycn { get; set; } //模数

        public string other { get; set; } = "";

        //20250506 新增要求，实时数据，包括上面有注释的变量，和下面的新增变量
        public float ECYCT { get; set; } //周期时间

        public int EIPM { get; set; } //最大射压

        public float EIPSE { get; set; } //射出终点位置

        public float EIPT { get; set; } // 射出时间

        public float EISS { get; set; } // 射出起点

        public int EIVM { get; set; } // 最大射速

        public int EPLSPM { get; set; } //最大储料压力

        public float EPLST { get; set; } //储料时间

        public int ESIPP { get; set; } //转保压压力

        public float ESIPS { get; set; } //转保压位置

        public float ESIPT { get; set; } //转保压时间

        public float ET1 { get; set; } //生产温度1
        public float ET2 { get; set; } //生产温度2
        public float ET3 { get; set; } //生产温度3
        public float ET4 { get; set; } //生产温度4
        public float ET5 { get; set; } //生产温度5
        public float ET6 { get; set; } //生产温度6
        public float ET7 { get; set; } //生产温度7
    }
}
